package com.kgc.dubbo.exception;

/**
 * 订单异常信息
 */
public enum OrderException {
    ORDER_NOT_FOUND(1200,"没有查询到相应的订单信息");

    private Integer code;
    private String message;
    OrderException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
